import request from '@/utils/request'

export function Getinfo(agency_id) {
  return request({
    url: `/pd-work/EDOM/initialization/${ agency_id }`,
    method: 'GET',
    params: { agency_id }
  })
}

export function Getinfo_to(agency_id) {
  return request({
    url: `/pd-work/EDOM/initialization_to/${ agency_id }`,
    method: 'GET',
    params: { agency_id }
  })
}

export function UpdateCourierStatus(data) {
  return request({
    url: '/pd-work/EDOM/UpdateCourierStatus',
    method: 'POST',
    data: data
  })
}

